package com.atguigu.cloud.order;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Author: Worker Hu
 * @CreateTime: 2024-07-19  11:03
 */
@SpringBootApplication
@MapperScan("com.atguigu.cloud.order.mapper")
@EnableDiscoveryClient
@EnableFeignClients //开启OpenFeign的功能支持 扫描@FeignClient注解
public class OrderApplication {

    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class , args) ;
    }

}


